package com.yunji.framework_template.orm.persistence.mapper;

import java.util.List;

import com.yunji.framework_template.common.web.Page;
import com.yunji.framework_template.orm.persistence.model.NewsCrawled;

public interface NewsCrawledMapper {

    int deleteByPrimaryKey(String urlMd5);

    int insert(NewsCrawled record);

    int insertSelective(NewsCrawled record);

    NewsCrawled selectByPrimaryKey(String urlMd5);

    int updateByPrimaryKeySelective(NewsCrawled record);

    int updateByPrimaryKey(NewsCrawled record);

    List<NewsCrawled> selectByCondition(NewsCrawled record);

    List<NewsCrawled> selectAll();

    List<NewsCrawled> selectByPage(Page page);

    Long count(NewsCrawled record);

    int deleteByCondition(NewsCrawled record);
}
